<form action="{:sysuri()}" data-table-id="FormTable" class="layui-form layui-card" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">
        <label class="layui-form-item relative block">
            <span class="help-label"><b>仓库名称</b>Warehous Name</span>
            <input class="layui-input" name="name" placeholder="请输入仓库名称" required value='{$vo.name|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>仓库地址</b>Warehous Address</span>
            <input class="layui-input" name="address" placeholder="请输入仓库名称" value='{$vo.address|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>仓库描述</b>Warehous Desc</span>
            <textarea class="layui-textarea" name="desc" placeholder="请输入仓库描述">{$vo.desc|default=''}</textarea>
        </label>
    </div>
    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
    <input type='hidden' value='{$vo.cat_id|default=input("cat_id")}' name='cat_id'>
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit' lay-submit>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close type='button' data-confirm="确定要取消编辑吗？">取消编辑</button>
    </div>
</form>